package tk.leafotto.ssm.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tk.leafotto.ssm.beans.UserInfo;
import tk.leafotto.ssm.dao.LoginMapper;

@Service
public class LoginService {
    @Autowired
    LoginMapper loginMapper;

    public UserInfo login(UserInfo userInfo) {
        return loginMapper.login(userInfo);
    }
}
